import requests from './axios'
// 登录
export const reqUserLogin = (data)=>requests({url:'/login',data,method:'post'})
// 获取所有员工信息
export const reqShowStaff = ()=>requests({url:'/showstaff',method:'get'})
// 获取员工考勤表信息
export const reqAttendance = ()=>requests({url:'/attendance',method:'get'})
// 删除某员工
export const reqRemoveStaff = (data)=>requests({url:'/removestaff',data,method:'post'})
// 添加员工
export const reqAddStaff = (data)=>requests({url:'/addstaff',data,method:'post'})
// 查找某员工
export const reqSearchStaff = (data)=>requests({url:'/searchstaff',data,method:'post'})
